﻿<%@ Page Language="C#" MasterPageFile="~/major/590202/MajorPage.master" AutoEventWireup="true" CodeFile="CouserList.aspx.cs" Inherits="major_590202_CouserList" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">	
	<div id="parameter">
		<div id="counav">
			<h3 class="counav"><span>最新资源</span></h3>
			<ul>
			    
			</ul>
				
				        </div>
		<div id="quinav">
			<h3 class="quinav"><span>推荐资源</span></h3>
			<ul style="margin-left:0px;">
			<img src="01/quinavlink.jpg" border="0" usemap="#Map" />
<map name="Map" id="Map">
  <area shape="RECT" coords="169,11,227,78" href="videolist.asp" />
</map>
			</ul>
        </div>

	</div>
	
	<div id="mainsupport">
	<div class="listbar1">		
	    <div class="left1">最 新 资 源 </div>	
	</div>
	<div id="content">
	<div class="listbar">	</div>	
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Jxzy_Database %>" SelectCommand="SELECT [Resource_Redirect], [Resource_ID], [Resource_Name] FROM [zyk_Resources] WHERE Resource_Type=@rstype and  ([Resource_MajorID] = @Resource_MajorID)">
        </asp:SqlDataSource>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="Resource_ID" DataSourceID="SqlDataSource1" Width="100%">
            <Columns>
                <asp:BoundField DataField="Resource_Name" HeaderText="课程" SortExpression="Resource_Name">
                    <ItemStyle Width="60%" />
                </asp:BoundField>
                <asp:HyperLinkField DataNavigateUrlFields="Resource_ID" DataNavigateUrlFormatString="ResourceShow.aspx?rsid={0}"
                    Text="课程介绍">
                    <ItemStyle Width="20%" />
                </asp:HyperLinkField>
                <asp:HyperLinkField DataNavigateUrlFields="Resource_Redirect" DataNavigateUrlFormatString="{0}"
                    Text="进入课程">
                    <ItemStyle Width="20%" />
                </asp:HyperLinkField>
            </Columns>
        </asp:GridView>
	</div>

	
	 
	
	</div>
</asp:Content>

